import { createRouter,createWebHistory } from "vue-router";


const router = createRouter({
    history:createWebHistory(),
    routes:[
        {
            path:'/',
            component: () => import('@/Home.vue'),
            name: 'Home',
        },
        {
          path:'/demo',
          component: () => import('@/view/demo/index.vue'),
          name: 'Demo',
      }
    ]
})
export default router;